# @time     :2022/1/17
# @Author   :Simple
# @FileName :base_common
import os

import yaml


def read_yaml(data_path):
    file_path = os.path.dirname(__file__)
    with open(file_path + data_path, encoding='utf-8') as file:
        return yaml.safe_load(file.read())

